package com.atguigu.classes.preconditions;

/**
 * @program: myIDEA
 * @description: 倒叙遍历
 * @author: Mr.zjx
 * create: 2021-07-06-15-01
 **/
public class Test17 {
    public static void main(String[] args) {
        int[] arr = {1,2,3,4};
        for (int i = arr.length-1;i>=0;i--) {
            System.out.println(arr[i]);
        }
    }
}
